package com.example.myshop.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.*;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("t_purse_record_user")
public class UserPurse {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;//id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long uid;//id
    private String username;//姓名
    private Integer purse;//性别
    private Integer addAmount;
    private Integer subAmount;
    private Integer pid;
    private String createdUser;
    private Date createdTime ;
    private String  modifiedUser;
    private Date modifiedTime;

}
